<tbody>
{foreach from=$list key=k item=v}
    <tr>
        <td><a href="{$smarty.server.SCRIPT_NAME}?op=edit&id={$v.id}">{$v.id}</a></td>
        <td class="status{$v.status}"><span>{$status[$v.status]}</span></td>
        <td>{$v.code}</td>
        <td class="td_name"><a href="{$smarty.server.SCRIPT_NAME}?op=edit&id={$v.id}">{$v.item_name}</a></td>
        <td>{$v.r_date|date_format:"%Y-%m-%d %H:%M"}</td>
        <td>{$v.u_date|date_format:"%Y-%m-%d %H:%M"}</td>
        <td class="update"><a href="{$smarty.server.SCRIPT_NAME}?op=edit&id={$v.id}">更新</a></td>
    </tr>
{/foreach}
</tbody>